public class LSwingTreeNode
extends javax.swing.tree.DefaultMutableTreeNode
| Constructor and Description |
|---|
LSwingTreeNode() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(LSwingTreeNode node) |
LSwingTreeNode |
get(LSwingTreeNode node)
Recursively searches the node's children for one equal to the input and
returns it.
|
java.util.ArrayList<LSwingTreeNode> |
getAllObjects() |
java.util.ArrayList<LSwingTreeNode> |
getAllObjects(boolean recursive) |
void |
mergeIn(LSwingTreeNode node)
Adds the node to the children of this current node.
|
void |
print(int depth) |
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject, toStringpublic boolean contains(LSwingTreeNode node)
node - public LSwingTreeNode get(LSwingTreeNode node)
node - public java.util.ArrayList<LSwingTreeNode> getAllObjects()
public java.util.ArrayList<LSwingTreeNode> getAllObjects(boolean recursive)
recursive - public void print(int depth)
depth - public void mergeIn(LSwingTreeNode node)
node - Node to merge into the current node